You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
558 B
22 lines
558 B
import React from "react";
|
|
import { Hero } from "../../components/Hero";
|
|
import { PartnersSection } from "../../components/PartnersSection";
|
|
import { getHero, getPartners } from "../../lib/data";
|
|
|
|
export const revalidate = 300;
|
|
|
|
export default function HomePage({ params }: { params: { locale: string } }) {
|
|
const locale = params.locale;
|
|
|
|
const heroData = getHero(locale);
|
|
const partnersData = getPartners(locale);
|
|
|
|
return (
|
|
<main>
|
|
<Hero data={heroData} locale={locale} />
|
|
<PartnersSection data={partnersData} />
|
|
</main>
|
|
);
|
|
}
|
|
|
|
|
|
|